package com.ltu.ai.sparkdesk.websocket.legal;

import java.util.List;

import com.alibaba.fastjson.JSONObject;


public class ResponLegalData {
	
	private Header header;
	private  Payload payload;
	

   public Header getHeader() {
		return header;
	}
	public void setHeader(Header header) {
		this.header = header;
	}
	public Payload getPayload() {
		return payload;
	}
	public void setPayload(Payload payload) {
		this.payload = payload;
	}
	
	public static class Header {
	   private   int code;
        private   int status;
        private  String action;
        private  String message;
        private  String timestamp;
        private  String bubbleId;
        private  String sid;
		public int getCode() {
			return code;
		}
		public void setCode(int code) {
			this.code = code;
		}
		public int getStatus() {
			return status;
		}
		public void setStatus(int status) {
			this.status = status;
		}
		public String getSid() {
			return sid;
		}
		public void setSid(String sid) {
			this.sid = sid;
		}
		public String getAction() {
			return action;
		}
		public void setAction(String action) {
			this.action = action;
		}
		public String getMessage() {
			return message;
		}
		public void setMessage(String message) {
			this.message = message;
		}
		public String getTimestamp() {
			return timestamp;
		}
		public void setTimestamp(String timestamp) {
			this.timestamp = timestamp;
		}
		public String getBubbleId() {
			return bubbleId;
		}
		public void setBubbleId(String bubbleId) {
			this.bubbleId = bubbleId;
		}
		
		
        
    }

	public  static  class Payload {
//        Choices choices;
        JSONObject  usage;
        JSONObject  content;
        
        
		public JSONObject getContent() {
			return content;
		}

		public void setContent(JSONObject content) {
			this.content = content;
		}
//
//		public Choices getChoices() {
//			return choices;
//		}
//
//		public void setChoices(Choices choices) {
//			this.choices = choices;
//		}

		public JSONObject getUsage() {
			return usage;
		}

		public void setUsage(JSONObject usage) {
			this.usage = usage;
		}
		
		
        
    }

   public  static class Choices {
	   private   List<Text> text;

	public List<Text> getText() {
		return text;
	}

	public void setText(List<Text> text) {
		this.text = text;
	}
	   
    }

   public  static  class Text {
	   private    String role;
	   private    String content;
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	   
    }
   public   static  class RoleContent{
	   private    String role;
	   private    String content;

        public RoleContent(String role, String content) {
		super();
		this.role = role;
		this.content = content;
	}

		public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }

}
